package com.activity.activitybpm.controller.account;

import com.activity.activitybpm.service.AccountService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;


/**
 * 
 *
 * @author gnf
 * @date 2024-04-01 17:40:05
 */
@RestController
@RequestMapping("/account")
public class AccountController {

    @Resource
    private AccountService accountService;

    /**
     * 列表
     */
    @RequestMapping("/list")
    public Object list(@RequestParam Map<String, Object> params) {
       return accountService.list();
    }

}
